<style>
.headinfo {
    background: none;
}
.headinfo .mod-member {
    margin: 0 auto;
	margin-top: -60px;
    width: 94%;
	left:3%;
    padding: 6px 0 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.headinfo .mod-member .sign-btn{
    position: absolute;
    margin: 0 auto;
	top: -2.1rem;
    width: 2rem;
	height: 1.1rem;
	right:1rem;
    color:#fff;
	text-align:center;
	padding-top:3px;
    background: #7c1cc9;
	font-size:0.6rem
}
.bottombg {bottom:-20px;width:100%;height:80px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
.badge {
    left: 2rem;
    top: 0;
}
.arrow-top {
  width: 0;   
  height: 0;   
  border-left: 10px solid transparent; 
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f1e8d6; 
  font-size: 0;  
  line-height: 0;
  margin-left:1.3rem
}
.fui-icon-group .fui-icon-col-sm .icon i {
    color: {{main.syscolor || '#FF4444'}};
    font-size: 1.4rem;
}
.fui-icon-group .fui-icon-col-sm .icon {
    height: auto;
    line-height: 1.4;
}
.showcode {padding:0.15rem;font-size:0.6rem;color:#fff;background-color:{{main.syscolor || '#7c1cc9'}};border-top-left-radius:1rem;border-bottom-left-radius:1rem;}
</style>
<div class="headinfo" style="height:auto;">		
				<div class="mod-member">
					<div ng-if="pagedata.sign_open==1" class="sign-btn" href="javascript:;" ng-click="access_json('core/member.qiandao/')" style="background:{{main.syscolor || '#7c1cc9'}};z-index:8">签到</div>
					<div class="headinfo" style="background:none;padding:0;color:#999">
												<div class="child userinfo" style="padding-bottom:5px;color:#999;width:4rem">
													<div class="face" style="margin-right:0.6rem;padding: 0.1rem;" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
															<img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}" />
															<span class="vip" style="background: {{main.syscolor || '#7c1cc9'}} none repeat scroll 0 0;"><i class="icon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem"></i></span>
													</div>
												</div>
												<div class="child userinfo" style="padding-bottom:0;color:#999;flex: 1;text-align:left;">
													<div class="l" style="line-height:1.5;width:100%">{{pagedata.item.nickname}}(ID{{pagedata.item.id}})</div>
													<div class="l" style="line-height:1.5">
														<div ng-if="pagedata.setting.no_showvip!=1" style="width:100%;font-size:0.7rem;color:{{main.syscolor || '#7c1cc9'}}">
														<span class="fui-tag fui-tag-danger" style="background:linear-gradient(to right,rgba(244,221,187,0.6),rgba(235,216,174,1));color:#512f0a;" href="javascript:;" onclick="$('#show_vipcard').modal();">{{pagedata.item.level}}</span>
														<span href="javascript:;" ng-click="access_json('jy_weishop/member.viplog/')" style="font-size:0.6rem;color:#e7bf82">记录 >></span>
														<span class="showcode r-f" style="margin-top:0.3rem" ng-click="access_json('core/member.paycode/');">付款码 <i class="icon icon-qrcode" style="color:#fff;font-size: 0.6rem;"></i></span>
														</div>
														<div ng-if="pagedata.setting.no_showvip!=1" style="width:100%;font-size:0.6rem;color:#e7bf82" ng-if="pagedata.item.viptime && pagedata.item.level_id>0">
														{{pagedata.item.viptime}}到期 
														<span href="javascript:;" ng-click="access_json('jy_weishop/member.open//xufee=1')" style="color:#a26302;">续费会员 >></span>
														</div>
														<div style="width:100%;font-size:0.7rem" href="javascript:;" ng-click="access_json('core/member.set/')">手机: {{pagedata.item.mobile}} <span style="color:{{main.syscolor || '#7c1cc9'}}">设置</span></div>
														<div style="font-size:0.6rem">
														<span class="red" ng-if="pagedata.sale_luck.title" href="javascript:;" ng-click="access_json('jy_weishop/member.luck/')">[{{pagedata.sale_luck.title}}] (享受{{pagedata.sale_luck.discount}}折)</span>
														</div>
													</div>
												</div>	
						</div>
						<div ng-if="pagedata.nextlevel && pagedata.nextlevel.id>0" style="margin:0 0.5rem;">
							<div class="arrow-top"></div>
							<div ng-click="access_json('jy_weishop/member.open//id='+pagedata.nextlevel.id);" class="memlogo-area" style="margin-bottom:0.5rem;height:3.3rem;padding:0.5rem;background:url({{tomedia(pagedata.nextlevel.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
									<div class="name bold">升级：{{pagedata.nextlevel.title || 'VIP卡'}}</div>
									<br>
									<div class="name overflow-h" style="max-width: 8rem;background:#333;border-radius:0.2rem;font-size:0.5rem;padding:0 3px">{{pagedata.nextlevel.desc || '预计年均省685元'}}</div>
									<div class="code">
										<img ng-src="{{tomedia(pagedata.nextlevel.vipimgs) || '../addons/jy_weishop/resource/images/vipimgs.png'}}">
									</div>
							</div>
						</div>
						<div class="fui-icon-group noborder  col-4">
												<div ng-if="pagedata.setting.no_credit2!=1" class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.credit2 || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">余额 <span ng-if="pagedata.setpay.credit==1" href="javascript:;" ng-click="access_json('core/member.feecard/')" style="color:{{main.syscolor || '#7c1cc9'}}">查看</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div href="javascript:;" ng-click="access_json('core/member.xunibi//type=1')">
														<div class="text bold">{{pagedata.item.credit1 || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我的积分  <span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.mycoupon || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">优惠券</div>
													</div>
												</div>
												<div ng-if="pagedata.setting.no_xianred!=1" class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.ideal_money || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">现金红包</div>
													</div>
												</div>
												<div ng-repeat="c in pagedata.item.credit_type" class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{c.data || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">{{c.title}} 
														<span ng-if="c.api==1" href="javascript:;" ng-click="access_json('core/member.xunibi//isrecharge=1&type='+c.id)" style="color:{{main.syscolor || '#4491F1'}}">充值</span>
														<span ng-if="c.api!=1" href="javascript:;" ng-click="access_json('core/member.xunibi//type='+c.id)" style="color:{{main.syscolor || '#4491F1'}}">查看</span>
														</div>
													</div>
												</div>
						</div>
					</div>
				</div>
<script>
require(['JsBarcode'],function(JsBarcode){
	//console.log('准备调用');
	JsBarcode('#barcode',scope.pagedata.item.id,{fontSize:36});
});
</script>